toggle menu
micro_utils.dokka
0.20.32
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[common]convert
convert
@
JvmName
(
name
=
"convertFromT2"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
(
source
)
(
source
)
@
JvmName
(
name
=
"convertFromT1"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T1
)
:
T2
(
source
)
(
source
)
@
JvmName
(
name
=
"convertFromT2"
)
suspend
fun
<
T1
,
T2
>
SimpleSuspendableMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
(
source
)
(
source
)
@
JvmName
(
name
=
"convertFromT1"
)
suspend
fun
<
T1
,
T2
>
SimpleSuspendableMapper
<
T1
,
T2
>
.
convert
(
from
:
T1
)
:
T2
(
source
)
(
source
)